﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                assembly="Inovout.People"
				        namespace="Inovout.People.Memberships.Models">

  <joined-subclass name="PersonMembership" extends="Inovout.Memberships.Models.Membership" 
                   table="Memberships_PersonMembership">
    <key column="PersonMembershipId" />
    <many-to-one name="Person" column="PersonId" cascade="all" unique="true"
                 class="Inovout.People.Models.Person,Inovout.People.Models" />
    <property name="CreatedTime" access="field.camelcase" />
    <property name="CreatedUserName" access="field.camelcase" />
    <property name="ModifiedTime" access="field.camelcase" />
    <property name="ModifiedUserName" access="field.camelcase" />
    <property name="AccessedTime" access="field.camelcase" />
    <property name="AccessedUserName" access="field.camelcase" />
    <property name="Memo" />
    <property name="IsInvalid" />
  </joined-subclass>
</hibernate-mapping>


